// 合并reducer的操作 用的什么方法？
import {combineReducers} from "redux";
import loginReducer from "@/store/reducers/login";
import profileReducer from "@/store/reducers/profile";
import {homeReducer} from "@/store/reducers/home";
import searchReducer from "@/store/reducers/search";
import articleReducer from "@/store/reducers/article";

const rootReducer = combineReducers({
  login: loginReducer,
  profile: profileReducer,
  home: homeReducer,
  search: searchReducer,
  article: articleReducer
})

export default rootReducer
